package com.isoft.game.sys.user.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.isoft.game.common.entity.IdEntity;

@Entity
@Table(name = "s_user")
public class User extends IdEntity<User> {
    private static final long serialVersionUID = 1L;

	public User() {
	}
	
	private String username;// 用户名
    private String password;// 密码
    private String name;	// 姓名
    private String phoneNumber;	// 手机号码
    private String deptId;	// 部门id
    private String roleId;	//角色id
    
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
}
